package br.com.busgps.bean;

import java.util.Date;

public class Location
{
    private long id;

    private Date date;

    private float latitude;

    private float longitude;

    private float speed;

    private String way;

    private Bus bus;

    public Location()
    {

    }

    public Location(long id, Date date, float latitude, float longitude, float speed, String way)
    {
        this.id = id;
        this.date = date;
        this.latitude = latitude;
        this.longitude = longitude;
        this.speed = speed;
        this.way = way;
    }

    public long getId()
    {
        return id;
    }

    public void setId(long id)
    {
        this.id = id;
    }

    public Date getDate()
    {
        return date;
    }

    public void setDate(Date date)
    {
        this.date = date;
    }

    public float getLatitude()
    {
        return latitude;
    }

    public void setLatitude(float latitude)
    {
        this.latitude = latitude;
    }

    public float getLongitude()
    {
        return longitude;
    }

    public void setLongitude(float longitude)
    {
        this.longitude = longitude;
    }

    public float getSpeed()
    {
        return speed;
    }

    public void setSpeed(float speed)
    {
        this.speed = speed;
    }

    public String getWay()
    {
        return way;
    }

    public void setWay(String way)
    {
        this.way = way;
    }

    public Bus getBus()
    {
        return bus;
    }

    public void setBus(Bus bus)
    {
        this.bus = bus;
    }
}